package com.example.communitypro.mapper;

import com.example.communitypro.pojo.Label;

import java.util.List;

public interface LabelMapper {
    int deleteByPrimaryKey(Integer labelNo);

    int insert(Label record);

    int insertSelective(Label record);

    Label selectByPrimaryKey(Integer labelNo);

    int updateByPrimaryKeySelective(Label record);

    int updateByPrimaryKey(Label record);

    List<Label> selectByHot();

    Label judgeLabel(String labelName);

    List<Label> selectByRand();
}